//ArraysRef.java
package com.ylaihui.array;

public class ArraysRef {
	public static void main(String[] args) {
		String[][] arr1 = new String[3][];
		System.out.println(arr1[0]);
		
//		System.out.println(arr1[0][0]);  // NullPointerException
		
		arr1[0] = new String[3];
		System.out.println(arr1[0][0]);
	}
}